package com.itheima.test;

public class gouZao {
    public static void main(String[] args) {
        Student student=new Student(10);
        Student student1=new Student();
    }
    static class Student{
        {
            System.out.println("好好学习");
        }
        public Student(){
            System.out.println("空参构造");
        }
        public Student(int a){
            System.out.println("有参构造");
        }
        {
            System.out.println("天天向上");
        }
    }
}
